gdkcursor-x11.c: fix building without HAVE_XCURSOR
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Tue, 28 Dec 2010 03:19:52 +0000 (10:19 +0700)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Jan 2011 04:39:55 +0000 (23:39 -0500)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
gdk/x11/gdkcursor-x11.c

index 1a900885b7de29a0b05334fcaf8e801f4bef3473..ae3dbe9dadb9ad889af6cd5e89eae1005178290a 100644 (file)
@@ -824,10 +824,13 @@ _gdk_x11_display_supports_cursor_color (GdkDisplay *display)
 }
 
 void
-_gdk_x11_display_get_default_cursor_size (GdkDisplay *display)
+_gdk_x11_display_get_default_cursor_size (GdkDisplay *display,
+                                          guint      *width,
+                                          guint      *height)
 {
   /* no idea, really */
-  return 20;
+  *width = *height = 20;
+  return;
 }
 
 #endif